/**
 * <p>
 * 弹窗配置
 *
 * @Author：Roy
 * @Description：预警
 * @Date：Create by 2023-12-04 14:51:04
 */
const popConfig = {
  'early-warning': {
    'early-warning-add': {
      popTitle: '添加预警设置',
      popType: 'OperateEarlyWarning',
      visible: true,
      popConfig: {
        width: '50%',
        destroy: true,
        popType: 'add'
      }
    },
    'early-warning-edit': {
      popTitle: '编辑预警设置',
      popType: 'OperateEarlyWarning',
      visible: true,
      popConfig: {
        width: '50%',
        destroy: true
      }
    },
    'early-warning-look': {
      popTitle: '查看预警设置',
      popType: 'OperateEarlyWarning',
      visible: true,
      popConfig: {
        width: '50%',
        destroy: true,
        disabled: true,
        hideFooterBtn: true
      }
    },
    'early-warning-delete': {
      showType: 'confirm',
      confirmHeader: '提示',
      confirmContent: '确认删除XXX的配置信息？',
      splitProp: 'warningName',
      paramsProp: { id: 'id' },
      path: 'earlyWarning.deleteById'
    },
    'early-warning-deleteBatch': {
      showType: 'confirm',
      dataType: 'multipleList',
      confirmHeader: '提示',
      confirmContent: '确认批量删除XXX预警的配置信息？',
      splitProp: 'warningName',
      paramsProp: { ids: 'id' },
      path: 'earlyWarning.batchDelete'
    }
  }
}

export default {}
export { popConfig }
